home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 301-325 / disk_319 / cnewssrc / cnews.orig.lzh / relay / hdrint.h < prev    next >
C/C++ Source or Header  |  1989-06-27  |  902b  |  43 lines

  1. /*
  2.  * definitions internal to the header modules (hdr*.c)
  3.  */
  4. #ifdef REALSTDC
  5. #undef REALSTDC
  6. #endif
  7. #ifdef __STDC__
  8. #if __STDC__ >= 1        /* microsoft, etc. brain-damage */
  9. #define REALSTDC        /* truth in advertising: really ANSI */
  10. #endif                /* __STDC__ < 1 */
  11. #endif                /* __STDC__ */
  12.  
  13. #ifndef REALSTDC
  14. #define const
  15. #endif                /* REALSTDC */
  16.  
  17. #ifndef DEFDIST
  18. #define DEFDIST "world"        /* default Distribution: */
  19. #endif
  20. #ifndef DEFMSGID
  21. #define DEFMSGID "<message-id@absent>"
  22. #endif
  23.  
  24. #define JUNK "junk"
  25. #define ALL "all"
  26.  
  27. #ifdef SLOWCTLMATCH
  28. #define OLDCNTRL "all.all.ctl"
  29. #endif
  30. #define SFXOLDCNTRL ".ctl"
  31.  
  32. struct hdrdef {
  33.     const char *hdrnm;    /* ascii name */
  34.     unsigned hdrlen;    /* STRLEN(hdrnm) */
  35.     int hdroff;        /* offset into struct header */
  36. };
  37. typedef const struct hdrdef *hdrlist[];
  38.  
  39. extern const struct hdrdef pathhdr, xrefhdr;
  40. extern const hdrlist parsehdrs, hdrvilest;
  41.  
  42. extern boolean headdebug;
  43.